#include<stdio.h>
#define PI 3.14159
int main()
{
	double r;
	scanf("%lf", &r);
	double c, s;
	c = 2*PI*r;
	s = PI*r*r;
	printf("%.2f %.2f", c, s);
	
	return 0;
}
